//-----------------------------------------------------------------------------
// cubo de ambiente
//-----------------------------------------------------------------------------

#ifndef ENVIRONMENTBOX_H
#define ENVIRONMENTBOX_H

#include "Config.h"


//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
enum ECubemapFaces {

  CUBEMAP_FACE_X_POS = 0,
  CUBEMAP_FACE_X_NEG,
  CUBEMAP_FACE_Y_POS,
  CUBEMAP_FACE_Y_NEG,
  CUBEMAP_FACE_Z_POS,
  CUBEMAP_FACE_Z_NEG,
  CUBEMAP_FACE_COUNT
};


//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
class CEnvironmentBox {

//-----------------------------------------------------------------------------
protected:

  /// cubemap faces
  GLuint m_anCubeFaces[6];

  int m_nTexDim;

//-----------------------------------------------------------------------------
public:

  /// constructor
  CEnvironmentBox();

  /// destructor
  ~CEnvironmentBox();

  /// initialize the class
  bool Init(const char *pszBaseFilename);

  /// draw
  void Draw();

};


#endif //ENVIRONMENTBOX_H
